package com.healthyeating.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthyeating.common.annotation.Excel;
import com.healthyeating.common.core.domain.BaseEntity;

/**
 * 清单管理对象 tb_shop_list
 * 
 * @author 段奇乐
 * @date 2024-11-26
 */
public class ShopList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 清单主键，自增 */
    private Long listId;

    /** 清单名称 */
    @Excel(name = "清单名称")
    private String listName;

    /** 清单所属用户id */
    private Long userId;

    /** 清单是否已完成，0：未完成，1：已完成 */
    @Excel(name = "清单是否已完成，0：未完成，1：已完成")
    private Integer status;

    public void setListId(Long listId) 
    {
        this.listId = listId;
    }

    public Long getListId() 
    {
        return listId;
    }
    public void setListName(String listName) 
    {
        this.listName = listName;
    }

    public String getListName() 
    {
        return listName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("listId", getListId())
            .append("listName", getListName())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
